package com.liarjo.my_website_api.controller.systemInfo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/api/systemInfo")
public class SystemInfoController {
    @Autowired
    private SystemInfoService systemInfoService;

    @GetMapping
    public SystemInfoResult systemInfo() {
        return systemInfoService.systemInfo();
    }
}
